<%@ page contentType="text/vnd.wap.wml;charset=UTF-8"%>
<%@ page session="true"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<c:forEach var="cont" items="${DE.list}">
	<c:choose>
			<c:when test="${cont.type==1}">
				<c:if test="${cont.news.status==1}">
					<c:choose>
						<c:when test="${cont.imgshow}">
							<a  href="view.html?id=${cont.news.id}&amp;v=1">
								<img src="http://wapimg1.huanqiu.com${cont.path}" alt=""/>
							</a>
						</c:when>
						<c:otherwise>
							<a  href="view.html?id=${cont.news.id}&amp;v=1">${empty (cont.pushword)?(cont.news.shortTitle):(cont.pushword)}</a>
						</c:otherwise>
					</c:choose>
				</c:if>
			</c:when>
			<c:when test="${cont.type==2}">
				<c:if test="${cont.ad.status==1}">
					<c:choose>
						<c:when test="${cont.imgshow}">
							<a href="http://wap1.huanqiu.com/ad.html?id=${cont.ad.id}&amp;pbid=${cont.pageBlockId}&amp;v=1">
								<img src="http://wapimg1.huanqiu.com${cont.path}" alt=""/>
							</a>
						</c:when>
						<c:otherwise>
							<a href="http://wap1.huanqiu.com/ad.html?id=${cont.ad.id}&amp;pbid=${cont.pageBlockId}&amp;v=1">${empty (cont.pushword)?(cont.ad.name):(cont.pushword)}</a>
						</c:otherwise>
					</c:choose>
				</c:if>
			</c:when>
			<c:when test="${cont.type==3}">
				<c:choose>
					<c:when test="${cont.imgshow}">
						<a href="ztview.html?id=${cont.zhuanti.id}&amp;v=1">
							<img src="http://wapimg1.huanqiu.com${cont.path}" alt=""/>
						</a>
					</c:when>
					<c:otherwise>
						<a href="ztview.html?id=${cont.zhuanti.id}&amp;v=1">${empty (cont.pushword)?(cont.zhuanti.name):(cont.pushword)}</a>
					</c:otherwise>
				</c:choose>
			</c:when>
		</c:choose>
	<c:choose>
		<c:when test="${cont.newline}">
			<br/>
		</c:when>
	</c:choose>
</c:forEach>

